<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ page import="org.springframework.security.core.context.SecurityContextHolder" %>

<c:url var="css" value="/resources/css" /> 
<c:url var="menu" value="../../menu.jsp" /> 
<c:url var="modifier" value="/admin/technologie/modify?name=" /> 
<c:url var="ajouter" value="/admin/technologie/add" /> 

<html>
<head>
	<link rel="stylesheet" type="text/css" media="screen" href="${css}/style.css"/>
	<title>Admin</title>
</head>

<body>
	<jsp:include page="${menu}" />
	<h1 id="banner">Admin - Technologies</h1>
	<hr/>
	
	<a href="${ajouter}">Ajouter une technologie</a>
	<c:forEach items="${technologies}" var="technologie">
		<p><a href="${modifier}${technologie.name}">Modifier</a> | <c:out value="${technologie.name}"/> Lvl <c:out value="${technologie.lvl}"/></p>
	</c:forEach>
</body>
</html>